﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CodeCamp.Models.Shared;

namespace CodeCamp.Models.Schedule
{
  public class ScheduleRoomsViewModel : SharedViewModel
  {
    public List<Building> Buildings { get; set; }

    public class Building
    {
      public string Name { get; set; }
      public List<Room> Rooms { get; set; }

      public class Room
      {
        public int RoomId { get; set; }
        public string RoomInfo { get; set; }
        public string Name { get; set; }
        public List<Session> Sessions { get; set; }

        public class Session
        {
          public int SessionId { get; set; }
          public string Title { get; set; }
          public DateTime StartTime { get; set; }
          public DateTime EndTime { get; set; }
          public List<Presenter> Presenters { get; set; }

          public class Presenter
          {
            public int PresenterId { get; set; }
            public string Name { get; set; }
          }
        }
      }
    }
  }
}